package com.share51.novel.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.share51.novel.entity.Content;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gb
 * @since 2020-03-23
 */
@Mapper
public interface ContentMapper extends BaseMapper<Content> {

    /**
     * 保存 文章正文 返回主键
     * @param content
     * @return
     */
    Integer saveContent(Content content);
}
